package com.ews.onlineexchange.comparator;

import java.util.Comparator;

import com.ews.onlineexchange.model.Trade;

public class TradeApplyDateComparator implements Comparator<Trade> {

	@Override
	public int compare(Trade arg0, Trade arg1) {		
		return arg0.getApplyTime().toString().compareTo(arg1.getApplyTime().toString());
	}

}
